<?php
	require_once "../Controle/Config.php";
	require_once "../Controle/ControleLogin.php";
	require_once "../Controle/ControleSessao.php";
	$Erro = new ControleLogin;
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?=$Config['TituloDoSistema'];?></title>
<link href="../css/global.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="tb" style="background: #006699;" >
  <tr>
    <td align="center" valign="middle">
	<form name="formLog" method="post" action="../Controle/ControleLogin.php?Exec=LogarUsuario">
      <table width="200" border="0" cellpadding="0" cellspacing="0" height="100" background="../images/back_login_branco.jpg">
        <tr>
          <td height="10" background="../images/back_login_branco.jpg">
			<img src="../images/logo_login_branco.jpg" width="260" height="63"> </td>
        </tr>
        <tr>
          <td background="../images/back_login_branco.jpg">&nbsp;</td>
        </tr>
        <tr>
          <td background="../images/back_login_branco.jpg" id="descricao">
		  <table width="230" border="0" cellpadding="0" cellspacing="1">
              <tr>
                <td width="48" id="trebuchet13">Login</td>
                <td width="179"><input name="usu_login" type="text" class="formAutenticacao" id="usu_login" value="" ></td>
              </tr>
              <tr>
                <td id="trebuchet13">Senha</td>
                <td><input name="usu_senha" type="password" class="formAutenticacao" id="usu_senha" value=""></td>
              </tr>
              <tr>
                <td height="1"><img src="../images/pixel.gif" width="1" height="1"></td>
                <td class="arial10-v" style="padding-top:5px; padding-bottom:5px;">
					<? 
					if(@$_GET["erro"]){ ?>
					<div id="error" style="clear:both;">
						<img src="../images/error.gif" width="15" height="15" align="left">&nbsp;<?=$Erro->MensagemDeErro($_GET['erro']);?>
					</div>
					<?
					}
					?>				</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>
					<input type="submit" value="entrar" class="btformAutenticacaoLogin">				</td>
              </tr>
          </table>
		  </td>
        </tr>
        <tr>
          <td background="../images/barra_login_branco.jpg" id="descricao">&nbsp;
		  </td>
        </tr>
        <tr>
          <td background="../images/back_login_branco.jpg" id="descricao">
		  Sistema Administrativo de conte&uacute;do de sites CIASitesAdmin. Autentique-se atrav&eacute;s de seu usu&aacute;rio e senha para come&ccedil;ar a administrar o conte&uacute;do de seu site .
		  </td>
        </tr>
        <tr>
          <td><img src="../images/base_login_branco.jpg" width="260" height="16" /></td>
        </tr>
      </table>
      </form>
    </td>
  </tr>
</table>
</body>
</html>
